package com.yans.managers.vo
{
	import com.yans.interfaces.vo.ISQLConnectionInfo;
	
	public class SQLConnectionInfo implements ISQLConnectionInfo
	{
		/**
		 *	@inheritDoc
		 */	
		public function SQLConnectionInfo(host:String = "", port:int = 0, username:String = "", password:String = "", database:String = "") {
			_host = host;
			_port = port;
			_username = username;
			_password = password;
			_database = database;
		}
		
		private var _host:String, _port:int, _username:String, _password:String, _database:String;
		
		/**
		 *	@inheritDoc
		 */	
		public function get host():String
		{
			return _host;
		}
		
		/**
		 *	@inheritDoc
		 */	
		public function set host(value:String):void
		{
			_host = value;
		}
		
		/**
		 *	@inheritDoc
		 */	
		public function get port():int
		{
			return _port;
		}
		
		/**
		 *	@inheritDoc
		 */	
		public function set port(value:int):void
		{
			_port = value;
		}
		
		/**
		 *	@inheritDoc
		 */	
		public function get username():String
		{
			return _username;
		}
		
		/**
		 *	@inheritDoc
		 */	
		public function set username(value:String):void
		{
			_username = value;
		}
		
		/**
		 *	@inheritDoc
		 */	
		public function get password():String
		{
			return _password;
		}
		
		/**
		 *	@inheritDoc
		 */	
		public function set password(value:String):void
		{
			_password = value;
		}
		
		/**
		 *	@inheritDoc
		 */	
		public function get database():String
		{
			return _database;
		}
		
		/**
		 *	@inheritDoc
		 */	
		public function set database(value:String):void
		{
			_database = value;
		}
	}
}